import { appendCommonConstants,commonConstants } from 'hhlt-core/constants';

/**
 * 〈一句话功能简述〉<br>
 * 〈公共方法〉
 *
 * @author Administrator
 * @create 2020年12月1日
 * @since 1.1.0
 */

 export let cerConstants = {

  //系统使用的常量start

  request: {

    resourceUrl: process.env.VUE_APP_RESOURCE_URL,
    context: {

      path: {

        auth: "/lxsh-auth-web-pc",
        cer: "/lxsh-cer-web-pc",
        system: "/lxsh-system-web-pc",
        internet: "/lxsh-internet-web-pc",
        basedata: "/lxsh-basedata-web-pc",
        act: "/lxsh-act-web-pc",
        iot: "/lxsh-iot-web-pc",
        api: "/lxsh-api-web-pc",
        message: "/lxsh-message-web-pc",
        file:"/lxsh-file-web-pc"
      }
    }
  },
  //业务使用的数据end
}

export function appendToCommonConstants(){

  appendCommonConstants(cerConstants)
}

export const requestContextPath = cerConstants.request.context.path;

export default cerConstants
